﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProDeletor
{
    class Scheduler
    {
        private bool[] weekDays;
        private string triggerTime;
        private bool triggerMode;

        public Scheduler()
        {
            weekDays = new bool[7];
            for (int i = 0; i < 7; i++)
                weekDays[i] = false;
        }

        public bool[] weekDaysList
        {
            get { return this.weekDays; }
        }

        public string Trigger
        {
            set { triggerTime = value; }
            get { return this.triggerTime; }
        }

        public bool TriggerMode
        {
            set { triggerMode = value; }
            get { return triggerMode; }
        }

        public bool Monday
        {
            set { weekDays[1] = value; }
            get { return weekDays[1]; }
        }

        public bool Tuesday
        {
            set { weekDays[2] = value; }
            get { return weekDays[2]; }
        }

        public bool Wednesday
        {
            set { weekDays[3] = value; }
            get { return weekDays[3]; }
        }

        public bool Thursday
        {
            set { weekDays[4] = value; }
            get { return weekDays[4]; }
        }

        public bool Friday
        {
            set { weekDays[5] = value; }
            get { return weekDays[5]; }
        }

        public bool Saturday
        {
            set { weekDays[6] = value; }
            get { return weekDays[6]; }
        }

        public bool Sunday
        {
            set { weekDays[0] = value; }
            get { return weekDays[0]; }
        }
    }
}
